<?php
  echo $form->create('GalleryCategory',array('url'=>array('plugin'=>'gallery','controller'=>'gallery','action'=>'add_category')));
  echo $form->input('name');
  echo $form->end('Dodaj kategorię');
?>